﻿using NodeCanvas.Framework;
using ParadoxNotion.Design;
using UnityEngine;

namespace Yoozoo.Gameplay.Liberty.AI.Node
{
    [Category("Ggame/Liberty")]
    public class NpcIsAllowSwitchTarget : AIConditionBaseNode
    {
        protected override bool OnCheck()
        {
            return _entity.battleAgent.allowSwitchTarget;
        }
    }
}